﻿using System;

namespace Glue.Converters
{
    internal class IntLongConverter:GlueDefaultConverter<int,long>
    {
        internal override long InternalMapTowardsRight(int from)
        {
            return Convert.ToInt64(from);
        }

        internal override int InternalMapTowardsLeft(long from)
        {
            return Convert.ToInt32(from);
        }
    }
}
